package com.hqyj.shop.dao;

import com.hqyj.shop.pojo.User;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserMessageDao {
    //查询所有用户的信息
    List<User> queryAllByUserId();

    int deleteByUserId(int userId);
}
